raar.world.factory
Class RAWorldReader

java.lang.Object
  extended by raar.world.factory.RAWorldReader

public class RAWorldReader
extends java.lang.Object

Read a world definition from a file or description string.


Constructor Summary
RAWorldReader(java.io.File src)
          Construct a reader for the file given.
RAWorldReader(java.lang.String desc)
          Construct a reader for the world description given.
 
Method Summary
 RAWorld getWorld()
          Return the world we've read and made.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAWorldReader

public RAWorldReader(java.lang.String desc)
              throws java.lang.Exception
Construct a reader for the world description given.

Throws:
java.lang.Exception

RAWorldReader

public RAWorldReader(java.io.File src)
              throws java.io.IOException
Construct a reader for the file given.

Throws:
java.io.IOException
Method Detail

getWorld

public RAWorld getWorld()
Return the world we've read and made.